In Wikipedia, the color of a shows the status of the corresponding target page. The default colors (in the Vector skin) have the following meanings:
:
Note that the colors in the boxes may appear darker than text of the same color; also, larger or bold text will tend to look darker. Furthermore, the actual color seen by a user will vary slightly according to their operating system, desktop settings, and browser, as well as their monitor and (for low-end LCDs) viewing angle. Logged-in users can also change the colors they see by selecting a different skin or using custom CSS.
*[[example|{{#ifexist: example|<span style="color:green;">This page exists.</span>|This page does not exist.}}]]
*[[exampl|{{#ifexist: exampl|<span style="color:green;">This page exists.</span>|This page does not exist.}}]]
you need to have ".mw-body" in front of the standard link definition, because otherwise the default definition on this website will still take precedence over what you have defined.
Redirect links
Show redirects as green links:
.mw-body a.mw-redirect {color:#308050}
.mw-body a.mw-redirect:visited {color:#3070A0}
Anomie/linkclassifier is a popular script that customizes colors to indicate links such as pages to be deleted, nonfree-media, redirects, protected pages and more.